#include "StateCache.h"

namespace egg{

    bool StateCache::mDepthTest=true;
    bool StateCache::mDepthWrite=true;
    
    bool StateCache::mBlend=false;

    bool StateCache::mCull=true;
    bool StateCache::mLineStipple=false;
    GLenum StateCache::mFront=GL_CCW;
    GLenum StateCache::mCullMode=GL_BACK;
    GLenum StateCache::mFillMode=GL_FILL;
    GLenum StateCache::mLineWidth=1.0;
    GLenum StateCache::mPointSize=1.0;

    bool StateCache::mStencilTest=false;

    uint32 StateCache::mShader=0;
    uint32 StateCache::mGeometry=0;
    uint32 StateCache::mFrameBuffer=0;

    uint32 StateCache::mTextures[8]={0};
    GLenum StateCache::mSWrap=GL_REPEAT;
    GLenum StateCache::mTWrap=GL_REPEAT;
}